//
//  DocumentModel.h
//  document
//
//  Created by C C on 2018/11/23.
//  Copyright © 2018 C C. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, DOCUMENTTYPE) {
    FOLDER,
    JSONDATA
};

NS_ASSUME_NONNULL_BEGIN

@interface DocumentModel : NSObject
@property (nonatomic, assign) DOCUMENTTYPE type;
@property (nonatomic, copy) NSString *title;

- (instancetype)initWithType:(DOCUMENTTYPE)type title:(NSString *)title;
@end

NS_ASSUME_NONNULL_END
